package com.octocat.project01.bookstore.servlet;

import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;

/**
 * Author : Octocat
 * Date   : 2021/5/16
 */
public class BookStoreServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }

    @Override
    public void destroy() {
        super.destroy();
        System.out.println("Book Store Servlet is destroy!");
    }

    @Override
    public void init() throws ServletException {
        super.init();
        System.out.println("Book Store Servlet is init!");
    }
}
